// 后续的尺寸都需要使用 rem 单位
// @baseFont: 50px;

// 导入公共的 common.less 文件
@import "common";
/* 给body进行样式初始化 */
body {
  /* 首先设置盒模型属性 */
  margin: 0 auto;
  min-width: 6.4rem;
  max-width: 15rem;
  background: #fff;
  font-size: 0.5rem;
  font-family: -apple-system, Helvetica, sans-serif;
  line-height: 1.5;
  color: #666;
//   ::-webkit-scrollbar {
//     /* Chrome Safari 隐藏元素滚动条*/
//    display: none;
//  }
}

blockquote,
body,
button,
dd,
dl,
dt,
fieldset,
form,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
input,
legend,
li,
ol,
p,
pre,
td,
textarea,
th,
ul {
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}
// ul {
//   display: block;
//   list-style-type: disc;
//   margin-block-start: 1em;
//   margin-block-end: 1em;
//   margin-inline-start: 0;
//   margin-inline-end: 0;
//   padding-inline-start: .8rem;
// }
/* 添加特殊样式 */
* {
  // margin: 0 auto;

  /*点击高亮我们需要清除清除设置为 transparent 完成透明*/
  -webkit-tap-highlight-color: transparent;
  -webkit-scrollbar {
     /* Chrome Safari 隐藏元素滚动条*/
    display: none;
  }
}
/*在移动端浏览器默认的外观在iOS上加上这个属性才能给按钮和输入框自定义样式*/
input {
  -webkit-appearance: none;
}

/*禁用长按页面时的弹出菜单*/
img,
a {
  -webkit-touch-callout: none;
}

/* top-tips 区域 */
.top-tips {
  z-index: 30;
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 1.3rem;
  line-height: 1.3rem;
  background-color: #333;
  color: #fff;
  div {
    text-align: center;
    &:nth-child(1) {
      width: 8%;
      img {
        margin: 0 auto;
        display: block;
        width: 0.5rem;
      }
    }
    &:nth-child(2) {
      width: 10%;
      img {
        margin: 0 auto;
        display: block;
        width: 0.8rem;
      }
    }
    &:nth-child(3) {
      width: 57%;
    }
    &:nth-child(4) {
      width: 25%;
      background-color: #f63515;
    }
  }
}
/* top-tips 区域 结束 */

/* 搜索框开始 */
.search-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 1.3rem; /* 因为.top-tips的height:45px; */
  left: 0;
  width: 100%;
  height: 1.28rem; //64px
  z-index: 20; /*防止被banner-bg被压盖*/
  background-color: #c82519;
  .search-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 1.2rem;
    height: 1.2rem;
    span {
      display: block;
      width: 0.4rem;
      height: 1.2rem;
      margin: 0.33rem 0 0 0.3rem;
      background: url(../images/s-btn.png) no-repeat 0 0;
      background-size: 0.6rem 0.46rem;
    }
  }
  .login {
    position: absolute;
    top: 0;
    right: 0;
    width: 1.2rem;
    height: 1.28rem;
    line-height: 1.28rem;
    color: #fff;
    text-align: left;
  }
  .search {
    /* input需要需要父相子绝 */
    position: relative;
    width: 100%;
    height: 0.8rem;
    margin: 0.14rem 1.4rem;
    border-radius: 0.6rem;
    background-color: #fff;
    span {
      float: left;
      /* 设置灰竖线需要父相子绝 */
      position: relative;
      width: 0.6rem;
      height: 1.28rem;
      margin: 0.2rem 0.16rem 0 0.3rem;
      background: url(../images/logo2.png) no-repeat 0 0;
      background-size: 0.6rem;
      &:after {
        position: absolute;
        /* 灰竖线向右移动8px */
        right: -0.4rem;
        content: "";
        width: 0.02rem;
        height: 0.5rem;
        background-color: #ccc;
      }
    }
    i {
      float: left;
      width: 18px;
      height: 15px;
      margin: 0.16rem 0 0 0.4rem;
      background: url(../images/jd-sprites.png) no-repeat -82px 0;
      background-size: 200px 200px;
    }
  }
}
/* 搜索框结束 */

/* 主要内容区域开始 */
.content {
  width: 100%;
  margin-top: 1.3rem; /* top-tips脱离标准流，占据了content 45px（content属于标准流） */
  background-color: #f6f6f6;
}
/* 焦点图部分开始 */
.banner {
  position: relative; /*banner-bg需要需要父相子绝*/
  float: right;
  width: 100%;
  height: 7rem;
  overflow: hidden; /*轮播图溢出隐藏*/
  .banner-bg {
    position: absolute;
    left: -25%; /*拽回自身（150%）的25%*/
    width: 150%;
    height: 5.9rem;
    border-bottom-left-radius: 100%;
    border-bottom-right-radius: 100%;
    background-image: linear-gradient(0deg, #f1503b, #c82519 50%);
  }
  ul {
    position: relative;
    margin: 0;
    list-style: none;
    li {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 3.74rem;
      padding: 1.3rem 3.333% 0;
      box-sizing: border-box;
      &:nth-child(2) {
        left: 100%;
      }
      &:nth-child(3) {
        left: 200%;
      }
      a {
        display: block;
        img {
          display: block;
          width: 100%;
          border-radius: 0.2rem;
        }
      }
    }
    .page {
      position: absolute;
      left: 50%;
      bottom: -6.5rem;
      height: 0.12rem;
      margin-left: -1.5rem;
      label {
        float: left;
        width: 0.3rem;
        height: 0.1rem;
        margin: 0 0.08rem;
        background-color: rgba(255, 255, 255, 0.4);
        &.current {
          width: 0.45rem;
          margin: 0 0.02rem;
          background-color: #fff;
        }
      }
    }
  }
}
/* 制作滑动轮播图结束 */
/* 优惠活动部分 */
.youhui {
  width: 100%;
  overflow: hidden;
  a {
    float: left;
    width: 33.333%;
    img {
      display: block;
      width: 100%;
    }
  }
}

/* 优惠活动部分结束 */
/* 导航区域开始 */
nav {
  // width: 15rem;
  // height: 3.24rem;
  // overflow: hidden;
  // width: 15rem;
  .mall-nav-ul {
    display: flex;
    // flex-wrap: wrap;
    left: 0;
    width: 15rem;
    height: 2.7rem;
    // overflow: hidden;
    padding: 0 0.5rem;

    transition: all 0.3s ease 0s;
    transform: translate3d(0px, 0px, 0px);
    .mall-nav-li {
      width: 2.5rem;
      height: 100%;
      list-style: none;
      margin-right: 0.52rem;
      box-sizing: border-box;
      a {
        display: flex;
        flex-direction: column;
        align-items: center;
        display: block;
        width: 2.5rem;
        height: 100%;
        color: #666;
        text-decoration: none;
        font-size: 0.20rem;
        line-height: 0.24rem;
        img {
          display: block;
          width: 1.8rem;
          // vertical-align: middle;
          // margin: 0.2rem auto 0;
        }
        span {
          // vertical-align: middle;
          display: block;
          width: 2.5rem;
          height: 0.5rem;
          margin-top: 0.24rem;
          line-height: 0.4rem;
        }
      }
    }
    // .mall-nav-2 {
    //   left: 100%;
    // }
  }
}

/* 导航区域结束 */
/* 新人专享开始 */
.new {
  margin: 0.2rem;
  overflow: hidden;
  a {
    float: left;
    width: 50%;
  }
  img {
    display: block;
    width: 100%;
  }
}
/* 新人专享结束 */
/* 主要内容区域结束 */

// 京东秒杀开始
.floor {
  font-size: 0;
  width: 100%;
  overflow: hidden;
  a {
    text-decoration: none;
  }
  .floor-the-container {
    position: relative;
    margin: 0.5rem;
    font-size: 0;
    .floor-container {
      width: 100%;
      font-size: 0;
      overflow: hidden;
      &:last-child {
        border-bottom: none;
      }
      .sec_kill_floor {
        -webkit-box-shadow: 0 1px 1px #f2f2f2;
        box-shadow: 0 1px 1px #f2f2f2;
        background: #fff;
        border-radius: 0.6rem;
        overflow: hidden;
        .title_wrap {
          background: url()
            no-repeat;
          background-size: contain;
          height: 1.7rem;
          line-height: 1.7rem;
          vertical-align: middle;
          .seckill-left-link {
            display: inline-block;
            // float: left;
            .seckill-tit-img {
              // float: left;
              display: inline-block;
              height: 1.35rem;
              margin-top: 0.4rem;
              margin-right: 0.25rem;
              margin-left: 0.5rem;
              font-family: PingFangSC-Semibold;
              font-size: 0.7rem;
              color: #333;
              letter-spacing: 0;
              line-height: 1.2;
            }
            .seckill-timer-wrap {
              display: inline-block;
              border-radius: 0.4rem;
              height: 0.9rem;
              line-height: 0.9rem;
              font-size: 0;
              margin-top: -0.2rem;
              vertical-align: middle;
              .seckill-nth {
                height: 100%;
                border-radius: 0.4rem;
                font-size: 0.65rem;
                color: #ff2727;
                letter-spacing: 0;
                padding-right: 0.25rem;
                padding-left: 0.25rem;
                float: left;
                position: relative;
                left: -1px;
                margin-right: 0.2rem;
                line-height: 1.4;
                &:after {
                  height: 0.875rem;
                  width: 1.025rem;
                  content: "";
                  display: inline-block;
                  vertical-align: middle;
                  background-image: url(//wq.360buyimg.com/wxsq_project/portal/m_jd_index/images/seckill-time-to_1de70c91.png);
                  background-repeat: no-repeat;
                  background-position: 50%;
                  background-size: contain;
                }
              }
              .seckill-timer {
                float: right;
                box-sizing: border-box;
                margin-right: 0.2rem;
                height: 100%;
                .seckill-time {
                  display: inline-block;
                  width: 0.75rem;
                  color: #fff;
                  background-image: -webkit-linear-gradient(
                    230deg,
                    #ff6152,
                    #fa2c19
                  );
                  background-image: linear-gradient(-140deg, #ff6152, #fa2c19);
                  background-color: #fa2c19;
                  border-radius: 0.2rem;
                  text-align: center;
                  font-size: 0.6rem;

                  font-weight: 400;
                }
                .seckill-time-separator {
                  display: inline-block;
                  height: 100%;
                  line-height: 1.4;
                  font-size: 0.6rem;
                  text-align: center;
                  font-family: PingFangSC-Regular;
                  color: #f2270c;
                  letter-spacing: 0;
                  font-weight: 700;
                }
              }
            }
          }
          .seckill-more-link {
            display: inline-block;
            color: #f23030;
            float: right;
            font-size: 0.5rem;
            text-align: right;
            position: relative;
            padding-right: 1.1rem;
            .seckill-more-icon {
              display: inline-block;
              width: 0.55rem;
              height: 0.55rem;
              background: url(//wq.360buyimg.com/wxsq_project/portal/m_jd_index/images/arrow_rt_2ccb8cd5.png)
                no-repeat;
              background-size: cover;
              position: absolute;
              right: 0.4rem;
              top: 0.5rem;
            }
          }
        }
      }
    }
  }
  .floor-container {
    width: 100%;
    font-size: 0;
    overflow: hidden;
    &:last-child {
      border-bottom: none;
    }
    img {
      width: 100%;
      height: auto;
      overflow: hidden;
      min-height: 1px;
      min-width: 1px;
    }
    &.seckill-slider {
      width: -webkit-calc(100% - 0.625rem);
      width: calc(100% - 0.625rem);
      margin: 0 auto;
    }
    .seckill-new-list {
      width: 13.62rem;
      display: flex;
      box-sizing: border-box;
      position: relative;
      background-color: #ffffff;
      transition: all 0.3s ease 0s;
      transform: translate3d(0px, 0px, 0px);
      &:after {
        clear: both;
        content: ".";
        height: 0;
        visibility: hidden;
        font-size: 0;
        display: block;
      }
      .seckill-new-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        // width: 2.675rem;
        width: 3rem;
        padding: 0 0.05rem;
        box-sizing: border-box;
        // float: left;
        // width: .64rem;
        &.j_sk_li {
          margin-top: 0.5rem;
        }
        .seckill-item-img {
          // box-sizing: border-box;
          .seckill-new-link {
            img {
              border: 0;
              vertical-align: top;
            }
            display: block;
            position: relative;
            .seckill-photo {
              width: 1.8rem;
              height: 1.8rem;
            }
          }
        }
        .seckill-item-price {
          width: 100%;
          margin: 0 auto;
          text-align: center;
          font-family: JDZhengHT-EN-Regular;
          margin-top: 0.5rem;
          display: block;
          color: #f2270c;
          font-size: 0.55rem;
          line-height: 0.6rem;
          height: 0.6rem;
          em {
            font-size: 0.22rem;
            padding-right: 0.3rem;
          }
        }
      }
    }
  }
}
// 京东秒杀结束

// 新人专享2开始
.fls06056 {
  padding-bottom: 2rem;
  .fls06056-logo-image {
    display: block;
    height: 1.5rem;
    background-image: url("//m.360buyimg.com/mobilecms/jfs/t1/126735/34/11806/14411/5f525ef1E8567e7ce/bb8d940057abd62d.png!q70.jpg.dpg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-origin: border-box;
    margin: 0 -0.5rem;
    .floor-graphic-item {
      width: 100%;
      background: #fff;
      font-size: 100%;
      overflow: hidden;
      background-color: transparent;
      .fls06056_ui0 {
        height: 6rem;
        overflow: hidden;
      }
    }
  }
  .floor-items {
    background: transparent;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    background: #fff;
    margin: 0 0.36667rem;
  }
  .floor-item-link {
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    border-left: 2px solid transparent;
    .fls06056_ui0-bg {
      left: 0;
      top: 0;
      z-index: 2;
    }
  }
}
// 新人专享2结束

// 底部导航开始
.footer-nav {
  margin: 0;
  padding: 0;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 31;
  box-sizing: border-box;
  width: 100%;
  list-style: none;
  background-color: #fff;
  box-shadow: 0 0 10px 0 hsla(0, 6%, 58%, 0.6);
  -webkit-box-shadow: 0 0 10px 0 hsla(0, 6%, 58%, 0.6);
  -moz-box-shadow: 0 0 10px 0 hsla(0, 6%, 58%, 0.6);
  font-size: 0.32rem;
  a {
    position: relative;
    width: 20%;
    height: 6em;
    box-sizing: border-box;
    float: left;
    font-size: 0.32rem;
    background-color: transparent;
    text-align: center;
    &:visited {
      text-decoration: none;
      color: #333;
    }
    img {
      position: absolute;
      left: 1em;
      bottom: 0;
      z-index: 1;
      width: 8em;
    }
  }
}
// 底部导航结束
